package com.huabo.audit.oracle.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author huabo
 * @since 2022-06-30
 */
@TableName("TBL_OTHERARTICLE")
@Data
@ApiModel(value="行业知识", description="")
@Accessors(chain = true)
public class TblOtherarticle implements Serializable {

    private static final long serialVersionUID = 1L;

	@TableId("OTHARTID")
	@ApiModelProperty(value="主键")
	private BigDecimal othartid;

    @TableField("ARTICLETITLE")
    @ApiModelProperty(value="文章标题")
    private String articletitle;

    @TableField("ARTICLESTATUS")
    @ApiModelProperty(value="状态：草稿、已发布、已废止")
    private String articlestatus;

    @TableField("ARUTICLEAUTHER")
    @ApiModelProperty(value="文章作者")
    private String aruticleauther;

    @TableField("PUBLISHTIME")
    @ApiModelProperty(value="发布时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd", iso = DateTimeFormat.ISO.DATE_TIME)
    private Date publishtime;

    @TableField("MEMO")
    @ApiModelProperty(value="备注")
    private String memo;

    @TableField("ORGID")
    @ApiModelProperty(value="所属行业id（外层行业树的orgid）")
    private Integer orgid;

    @TableField("ARTICLEBODY")
    @ApiModelProperty(value="文章内容")
    private String articlebody;

    @TableField("MODELTYPE")
    @ApiModelProperty(value="所属模块,不用传值")
    private String modeltype;

}
